﻿
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Exam.IDAO;

namespace Exam.DAO
{
  public partial class DBSession : IDBSession
  {
        
        private IAchievementDao _AchievementDao;
        public IAchievementDao AchievementDao
        {
            get
            {
                if (_AchievementDao == null)
                {
                    _AchievementDao = new AchievementDao();
                }
                return _AchievementDao;
            }
            set { _AchievementDao = value; }
        }
        
        private IAnswerDao _AnswerDao;
        public IAnswerDao AnswerDao
        {
            get
            {
                if (_AnswerDao == null)
                {
                    _AnswerDao = new AnswerDao();
                }
                return _AnswerDao;
            }
            set { _AnswerDao = value; }
        }
        
        private ICityDao _CityDao;
        public ICityDao CityDao
        {
            get
            {
                if (_CityDao == null)
                {
                    _CityDao = new CityDao();
                }
                return _CityDao;
            }
            set { _CityDao = value; }
        }
        
        private IEHSDao _EHSDao;
        public IEHSDao EHSDao
        {
            get
            {
                if (_EHSDao == null)
                {
                    _EHSDao = new EHSDao();
                }
                return _EHSDao;
            }
            set { _EHSDao = value; }
        }
        
        private IELCourseDao _ELCourseDao;
        public IELCourseDao ELCourseDao
        {
            get
            {
                if (_ELCourseDao == null)
                {
                    _ELCourseDao = new ELCourseDao();
                }
                return _ELCourseDao;
            }
            set { _ELCourseDao = value; }
        }
        
        private IELearningDao _ELearningDao;
        public IELearningDao ELearningDao
        {
            get
            {
                if (_ELearningDao == null)
                {
                    _ELearningDao = new ELearningDao();
                }
                return _ELearningDao;
            }
            set { _ELearningDao = value; }
        }
        
        private IEpisodesDao _EpisodesDao;
        public IEpisodesDao EpisodesDao
        {
            get
            {
                if (_EpisodesDao == null)
                {
                    _EpisodesDao = new EpisodesDao();
                }
                return _EpisodesDao;
            }
            set { _EpisodesDao = value; }
        }
        
        private IExaminationDao _ExaminationDao;
        public IExaminationDao ExaminationDao
        {
            get
            {
                if (_ExaminationDao == null)
                {
                    _ExaminationDao = new ExaminationDao();
                }
                return _ExaminationDao;
            }
            set { _ExaminationDao = value; }
        }
        
        private ILevelDao _LevelDao;
        public ILevelDao LevelDao
        {
            get
            {
                if (_LevelDao == null)
                {
                    _LevelDao = new LevelDao();
                }
                return _LevelDao;
            }
            set { _LevelDao = value; }
        }
        
        private ILibraryDao _LibraryDao;
        public ILibraryDao LibraryDao
        {
            get
            {
                if (_LibraryDao == null)
                {
                    _LibraryDao = new LibraryDao();
                }
                return _LibraryDao;
            }
            set { _LibraryDao = value; }
        }
        
        private IMeetRoomDao _MeetRoomDao;
        public IMeetRoomDao MeetRoomDao
        {
            get
            {
                if (_MeetRoomDao == null)
                {
                    _MeetRoomDao = new MeetRoomDao();
                }
                return _MeetRoomDao;
            }
            set { _MeetRoomDao = value; }
        }
        
        private IModalityDao _ModalityDao;
        public IModalityDao ModalityDao
        {
            get
            {
                if (_ModalityDao == null)
                {
                    _ModalityDao = new ModalityDao();
                }
                return _ModalityDao;
            }
            set { _ModalityDao = value; }
        }
        
        private IProctorDao _ProctorDao;
        public IProctorDao ProctorDao
        {
            get
            {
                if (_ProctorDao == null)
                {
                    _ProctorDao = new ProctorDao();
                }
                return _ProctorDao;
            }
            set { _ProctorDao = value; }
        }
        
        private IProductLineDao _ProductLineDao;
        public IProductLineDao ProductLineDao
        {
            get
            {
                if (_ProductLineDao == null)
                {
                    _ProductLineDao = new ProductLineDao();
                }
                return _ProductLineDao;
            }
            set { _ProductLineDao = value; }
        }
        
        private IProvinceDao _ProvinceDao;
        public IProvinceDao ProvinceDao
        {
            get
            {
                if (_ProvinceDao == null)
                {
                    _ProvinceDao = new ProvinceDao();
                }
                return _ProvinceDao;
            }
            set { _ProvinceDao = value; }
        }
        
        private IQuestionsDao _QuestionsDao;
        public IQuestionsDao QuestionsDao
        {
            get
            {
                if (_QuestionsDao == null)
                {
                    _QuestionsDao = new QuestionsDao();
                }
                return _QuestionsDao;
            }
            set { _QuestionsDao = value; }
        }
        
        private IRegisterDao _RegisterDao;
        public IRegisterDao RegisterDao
        {
            get
            {
                if (_RegisterDao == null)
                {
                    _RegisterDao = new RegisterDao();
                }
                return _RegisterDao;
            }
            set { _RegisterDao = value; }
        }
        
        private IRoleDao _RoleDao;
        public IRoleDao RoleDao
        {
            get
            {
                if (_RoleDao == null)
                {
                    _RoleDao = new RoleDao();
                }
                return _RoleDao;
            }
            set { _RoleDao = value; }
        }
        
        private ISysConfigDao _SysConfigDao;
        public ISysConfigDao SysConfigDao
        {
            get
            {
                if (_SysConfigDao == null)
                {
                    _SysConfigDao = new SysConfigDao();
                }
                return _SysConfigDao;
            }
            set { _SysConfigDao = value; }
        }
        
        private IUserExamDao _UserExamDao;
        public IUserExamDao UserExamDao
        {
            get
            {
                if (_UserExamDao == null)
                {
                    _UserExamDao = new UserExamDao();
                }
                return _UserExamDao;
            }
            set { _UserExamDao = value; }
        }
        
        private IUserInfoDao _UserInfoDao;
        public IUserInfoDao UserInfoDao
        {
            get
            {
                if (_UserInfoDao == null)
                {
                    _UserInfoDao = new UserInfoDao();
                }
                return _UserInfoDao;
            }
            set { _UserInfoDao = value; }
        }
        
        private IUserRoleDao _UserRoleDao;
        public IUserRoleDao UserRoleDao
        {
            get
            {
                if (_UserRoleDao == null)
                {
                    _UserRoleDao = new UserRoleDao();
                }
                return _UserRoleDao;
            }
            set { _UserRoleDao = value; }
        }
     }
}